package client.msg;

import server.Merchant;

import java.util.*;

/**
 * Created by IntelliJ IDEA.
 * User: Nestera
 * Date: 17/Out/2007
 * Time: 21:17:08
 * To change this template use File | Settings | File Templates.
 */
public class MsgInsertProduct extends MsgClient{
	
	private String nome;
	private String com;
	private double preco;
	private GregorianCalendar prazoMaximo;
	private GregorianCalendar data;

    public MsgInsertProduct(String name, String com, double prize, GregorianCalendar prazo, GregorianCalendar date){
    	
    	this.nome = name;
    	this.com = com;
    	this.preco = prize;
    	this.prazoMaximo = prazo;
    	this.data = date;

    }
    
    public String getNome() {
    	return this.nome;
    }
    
    public String getMerchant() {
    	return this.com;
    }
    
    public double getPreco() {
    	return this.preco;
    }
    
    public GregorianCalendar getPrazoMaximo() {
    	return this.prazoMaximo;
    }
    
    public GregorianCalendar getData() {
    	return this.data;
    }
}
